package com.txsj.scan.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Unique;

/**
 * 从服务器获取到的品牌标签数据
 */

@Entity
public class EpcInfo {


    /**
     * id : 286207
     * tag_id : 23166
     * tag_class_id : 0
     * tag_group_id : 23167
     * group_serial : 1
     * scene_number : 0
     * brand_id : 498529
     * goods_id : 16454
     * batch_id : 10194539
     * good_add_user_id : 0
     * good_addtime : 1753-01-01 12:00:00
     * current_sell_warehouse_id : 100200
     * current_sell_brand_id : 498529
     * last_bind_sell_user : 0
     * last_bind_sell_time : 0
     * add_time : 2018-12-05 16:10:56
     * order_id : 0
     */

    @Unique
    private long tag_id;
    private int brand_id;
    private int goods_id;
    private int batch_id;
    private int current_sell_warehouse_id;
    private int current_sell_brand_id;
    private int last_bind_sell_user;
    private int order_id;
    @Transient
    private int epcCount;//在盘点商品数量界面唯一使用，用来合并不同标签在同一商品下的标签
    @Transient
    private long id;
    @Transient
    private int tag_class_id;
    @Transient
    private int tag_group_id;
    @Transient
    private int group_serial;
    @Transient
    private int scene_number;
    @Transient
    private String add_time;
    @Transient
    private int good_add_user_id;
    @Transient
    private String good_addtime;

    public int getEpcCount() {
        return epcCount;
    }

    public void setEpcCount(int epcCount) {
        this.epcCount = epcCount;
    }

    @Transient
    private String strEpc;//Epc本地标签，调拨提交时需要
    @Generated(hash = 1737439507)
    public EpcInfo(long tag_id, int brand_id, int goods_id, int batch_id,
            int current_sell_warehouse_id, int current_sell_brand_id,
            int last_bind_sell_user, int order_id) {
        this.tag_id = tag_id;
        this.brand_id = brand_id;
        this.goods_id = goods_id;
        this.batch_id = batch_id;
        this.current_sell_warehouse_id = current_sell_warehouse_id;
        this.current_sell_brand_id = current_sell_brand_id;
        this.last_bind_sell_user = last_bind_sell_user;
        this.order_id = order_id;
    }
    @Generated(hash = 556325036)
    public EpcInfo() {
    }

    public String getStrEpc() {
        return strEpc;
    }

    public void setStrEpc(String strEpc) {
        this.strEpc = strEpc;
    }

    public long getTag_id() {
        return this.tag_id;
    }
    public void setTag_id(long tag_id) {
        this.tag_id = tag_id;
    }
    public int getBrand_id() {
        return this.brand_id;
    }
    public void setBrand_id(int brand_id) {
        this.brand_id = brand_id;
    }
    public int getGoods_id() {
        return this.goods_id;
    }
    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }
    public int getBatch_id() {
        return this.batch_id;
    }
    public void setBatch_id(int batch_id) {
        this.batch_id = batch_id;
    }
    public int getCurrent_sell_warehouse_id() {
        return this.current_sell_warehouse_id;
    }
    public void setCurrent_sell_warehouse_id(int current_sell_warehouse_id) {
        this.current_sell_warehouse_id = current_sell_warehouse_id;
    }
    public int getCurrent_sell_brand_id() {
        return this.current_sell_brand_id;
    }
    public void setCurrent_sell_brand_id(int current_sell_brand_id) {
        this.current_sell_brand_id = current_sell_brand_id;
    }
    public int getLast_bind_sell_user() {
        return this.last_bind_sell_user;
    }
    public void setLast_bind_sell_user(int last_bind_sell_user) {
        this.last_bind_sell_user = last_bind_sell_user;
    }
    public int getOrder_id() {
        return this.order_id;
    }
    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getTag_class_id() {
        return tag_class_id;
    }

    public void setTag_class_id(int tag_class_id) {
        this.tag_class_id = tag_class_id;
    }

    public int getTag_group_id() {
        return tag_group_id;
    }

    public void setTag_group_id(int tag_group_id) {
        this.tag_group_id = tag_group_id;
    }

    public int getGroup_serial() {
        return group_serial;
    }

    public void setGroup_serial(int group_serial) {
        this.group_serial = group_serial;
    }

    public int getScene_number() {
        return scene_number;
    }

    public void setScene_number(int scene_number) {
        this.scene_number = scene_number;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public int getGood_add_user_id() {
        return good_add_user_id;
    }

    public void setGood_add_user_id(int good_add_user_id) {
        this.good_add_user_id = good_add_user_id;
    }

    public String getGood_addtime() {
        return good_addtime;
    }

    public void setGood_addtime(String good_addtime) {
        this.good_addtime = good_addtime;
    }
}
